@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>保单管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-2">
                                <#NameCon id="policyCode" name="保单号" />
                            </div>
                            <div class="col-sm-2">
                                <#SelectCon id="policyStauts" name="保单状态" >
                                <option value="0">状态</option>
                                <option value="1">待生效</option>
                                <option value="2">生效</option>
                                <option value="3">失效</option>
                                </#SelectCon>
                            </div>
                            <div class="col-sm-3">
                                <#button name="搜索" icon="fa-search" clickFun="Policy.search()"/>
                                <#button name="重置" icon="fa-trash" clickFun="Policy.resetSearch()" space="true"/>
                            </div>
                        </div>
                        <div class="hidden-xs" id="PolicyTableToolbar" role="group">
                            @if(shiro.hasPermission("/policy/add")){
                                <#button name="添加" icon="fa-plus" clickFun="Policy.openAddPolicy()"/>
                            @}
                            @if(shiro.hasPermission("/policy/update")){
                                <#button name="修改" icon="fa-edit" clickFun="Policy.openPolicyDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/policy/delete")){
                                <#button name="删除" icon="fa-remove" clickFun="Policy.delete()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/policy/contacts")){
                                <#button name="联系人" icon="fa-user-plus" clickFun="Policy.openAddContacts()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/policy/accessory")){
                                <#button name="附件" icon="fa-file" clickFun="Policy.openAccessory()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/insuranceKind")){
                                <#button name="险种设置" icon="fa-archive" clickFun="Policy.openInsuranceKind()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/policyPlan")){
                                <#button name="保障计划设置" icon="fa-map-signs" clickFun="Policy.openPolicyPlanKind()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/policy/pay")){
                                <#button name="保单缴费" icon="fa-file-archive-o" clickFun="Policy.openPolicyPay()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/policy/reNew")){
                                <#button name="续签" icon="fa-battery-empty" clickFun="Policy.openPolicyReNew()" space="true"/>
                            @}
                        </div>
                        <#table id="PolicyTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/system/policy/policy.js"></script>
@}
